package org.lex.catalog;

import java.util.EventObject;

public class CatalogEvent extends EventObject {
	private Object newCatalog = null;

	public CatalogEvent(CatalogModel model, Object newCatalog) {
		super(model);
		this.newCatalog = newCatalog;
	}

	public CatalogModel getSource() {
		return (CatalogModel) super.getSource();
	}

	public Object getCatalog() {
		return newCatalog;
	}
}
